package com.zzf.sensitive.aop;

import java.lang.annotation.*;

import com.zzf.sensitive.enums.MarkTypeEnum;
import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;

import com.zzf.sensitive.enums.SensitiveTypeEnum;

/**
 * 敏感字段注解
 * 加在需要打码的字段上
 *
 * @author zhangzhifu
 * @date 2021/1/15
 **/
@Documented
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Order(Ordered.HIGHEST_PRECEDENCE)
public @interface MarkField {
    MarkTypeEnum type();
}
